The following code demonstrates how to change Preview Window magnification using PENextPrintWindowMagnification and PEZoomPreviewWindow:
if (!PENextPrintWindowMagnification(Job)){
// Handle error
}
short zoomLevel;
zoomLevel = PE_ZOOM_SIZE_FIT_BOTH_SIDES;
// Fit both sides of report
if (!PEZoomPreviewWindow(Job, zoomLevel)){
// Handle error
}
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |